package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.EcologyPoolPrize;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author 刘国航
 * @since 2024/8/10 17:19
 */
@Mapper
public interface EcologyPoolPrizeMapper extends BaseMapper<EcologyPoolPrize> {

    int deductionRedEnvelopes(@Param("id") Long id, @Param("receivePackNumber") BigDecimal receivePackNumber, @Param("version") Integer version);
}
